<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE HTML>
<html>
  <head>
    <%@include file="../common.jsp"%>
    <title>用户管理</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">  
	<link rel="stylesheet" type="text/css" href="resources/css/common.css">
	<script type="text/javascript" src="resources/js/user.js"></script>  
  </head>
  <body>
   	<div class="content">
   		<h4>app用户管理</h4>
   		<hr/>
   		<!-- 查询面板 -->
   		<div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#collapseSearch">
		           	<i class="icon icon-search"></i> 查询过滤
		        </a>
		      </h4>
		    </div>
		    <div id="collapseSearch" class="panel-collapse collapse out">
		      <div class="panel-body">
				  <form id="form_search" class="form-horizontal">
			        <div class="form-group">
			          	<label class="col-md-1 control-label">用户名</label>
			          	<div class="col-md-4">
			             	<input type="text" name="name" id="search_name" class="form-control" placeholder="模糊查询...">
			          	</div>
			          	<label class="col-md-1 control-label">手机号</label>
			          	<div class="col-md-4">
			             	<input type="text" name="phone" id="search_phone" class="form-control" placeholder="精确查询...">
			          	</div>
			        </div>
			        <div class="form-group">
			          <div class="col-md-offset-1 col-md-11">
			             <button id="btn_search" class="btn btn-default"><i class="icon icon-search"></i> 查询</button>
			             <button id="btn_reset" class="btn btn-default"><i class="icon icon-undo"></i> 重置</button>
			          </div>
			        </div>
			      </form>
		      </div>
		    </div>
		</div>
	    <!-- 工具栏 -->
   		<div class="tools">
 	    	<button id="btn_count" type="button" class="btn btn-primary"><i class="icon icon-bar-chart"></i> 统计信息</button>
	    	<!-- 
	    	<button id="btn_del" type="button" class="btn btn-danger"><i class="icon icon-minus"></i>  删除</button>
	    	<div id="btn_status" class="btn-group" style="float: right;">
			  	<button type="button" class="btn btn-default active" id="0">正常</button>
			  	<button type="button" class="btn btn-danger" id="1">冻结</button>
			</div>
			-->
	    </div>
	    <!-- 列表 -->
	    <table id="tab_list" class="table table-hover table-striped mytable">
			<thead>
				<tr>
					<th style="width: 35px;"><input id="pkall" type='checkbox' class='checkbox'></th>
					<th style="width: 50px;">序号</th>
					<th>用户名 </th>
					<th>手机号</th>
					<th>健康币</th>
					<th>性别</th>
				 <!--	<th>出生年月</th>  -->
					<th>最后一次登录时间 </th>
					<th>注册时间 </th>
				</tr>
			</thead>
			<tbody>
				
			</tbody>
	  	</table>
	  	<!-- 分页信息条 -->
	  	<div id="pagebar" class="pagebar">
		  	<ul class="pager">
		  		
			</ul>
			<p id="page_info" class="page_info">显示第<span>0</span>到第<span>0</span>条记录,共<span>0</span>条</p>
	  	</div>
	    </div>
	    <!-- 增加 -->
		<div class="modal fade bs-example-modal-lg" id="modal_add" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		  <div class="modal-dialog modal-lg">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
		        <h4 class="modal-title" id="myModalLabel">新增成本中心</h4>
		      </div>
		      <div class="modal-body">
		         <form id="form_add" class="form-horizontal" role="form" action="costcent/add" method="post">
					  <div class="form-group">
					    <label class="col-sm-2 control-label required">名称</label>
					    <div class="col-sm-4">
					      <input type="text" name="costcentName" class="form-control" placeholder="成本中心名称" data-toggle="tooltip" data-placement="top" title="请输入成本中心名称">
					    </div>
					    <label class="col-sm-2 control-label required">编号</label>
					    <div class="col-sm-4">
					      <input type="text" name="costcentNo" class="form-control" placeholder="成本中心编号" data-toggle="tooltip" data-placement="top" title="请输入成本中心编号">
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-2 control-label">功能范围</label>
					    <div class="col-sm-10">
					       <textarea class="form-control" rows="3" name="costcentScope" placeholder="该成本中心的大致功能范围"></textarea>
					    </div>
					  </div>
					  <div class="form-group">
					    <label class="col-sm-2 control-label">备注说明</label>
					    <div class="col-sm-10">
					       <textarea class="form-control" rows="3" name="costcentDesc" placeholder="该成本中心的一些说明"></textarea>
					    </div>
					  </div>
				</form>
		      </div>
		      <div class="modal-footer">
		          <button id="btn_confirm_add" type="button" class="btn btn-primary">确定</button>
		          <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		      </div>
		    </div>
	   </div>
	</div>
	   <!-- 统计信息详情 -->
    <div class="modal fade bs-example-modal-lg" id="modal_census" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	  <div class="modal-dialog modal-lg">
	    <div class="modal-content">
		      <div class="modal-header">
			        <button type="button" class="close" data-dismiss="modal">
				        <span aria-hidden="true">&times;</span>
				        <span class="sr-only">Close</span>
			        </button>
			        <h4 class="modal-title">统计信息</h4>
		      </div>
		      <div class="modal-body">
		         <form class="form-horizontal" role="form">
				  <div class="form-group">
				  	  <label class="col-sm-2 control-label">咨询次数</label>
					  <div class="col-sm-4">
					      <input type="text" name="consultNum" class="form-control" id="scan_consultNum" required="required" disabled="disabled">
					  </div>
				  	  <label class="col-sm-2 control-label">关注医生数量</label>
					  <div class="col-sm-4">
					      <input type="text" name="focusDocNum" class="form-control"  id="scan_focusDocNum" required="required" disabled="disabled">
					  </div>
				  </div>
				  <div class="form-group">
				  	  <label class="col-sm-2 control-label">评价次数</label>
					  <div class="col-sm-4">
					      <input type="text" name="scoreTimes" class="form-control"  id="scan_scoreTimes"  required="required" disabled="disabled">
					  </div>
				  	  <label class="col-sm-2 control-label">评价次数百分比</label>
					  <div class="col-sm-4">
					      <input type="text" name="scoreTimesPercent" class="form-control" id="scan_scoreTimesPercent"  required="required" disabled="disabled">
					  </div>
				  </div>
				  <div class="form-group">
				  	  <label class="col-sm-2 control-label">充值次数</label>
					  <div class="col-sm-4">
					      <input type="text" name="cashinTimes" class="form-control" id="scan_cashinTimes" required="required" disabled="disabled">
					  </div>
				  	  <label class="col-sm-2 control-label">充值总金额</label>
					  <div class="col-sm-4">
					      <input type="text" name="cashinTotal" class="form-control" id="scan_cashinTotal" required="required" disabled="disabled">
					  </div>
				  </div>
				  <div class="form-group">
				  	  <label class="col-sm-2 control-label">花费健康币数</label>
					    <div class="col-sm-4">
					      <input type="text" name="costCoinNum" class="form-control"  id="scan_costCoinNum" required="required" disabled="disabled">
					    </div>
				  	  <label class="col-sm-2 control-label">app分享次数</label>
					  <div class="col-sm-4">
					      <input type="text" name="appShareNum" class="form-control" id="scan_appShareNum" required="required" disabled="disabled">
					  </div>
				  </div>
				</form>
		      </div>
	    </div>
	  </div>
	</div>
  </body>
</html>